Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/Config discovery #37

Closed
wants to merge 18 commits into from
Closed

Conversation

iGxnon
Copy link
Collaborator

@iGxnon iGxnon commented Oct 27, 2023

Please briefly answer these questions:

  • what problem are you trying to solve? (or if there's no problem, what's the motivation for this change?)

    This PR add a configuration discovery on operator, sidecar with an incomplete config could fetch the latest config from operator. This gives the sidecars the ability to discover each other and reconcile on a right majority.

  • what changes does this pull request make?

  • are there any non-obvious implications of these changes? (does it break compatibility with previous versions, etc)

@codecov
Copy link

codecov bot commented Oct 27, 2023

Codecov Report

Attention: 1118 lines in your changes are missing coverage. Please review.

Comparison is base (0627722) 40.68% compared to head (65e1528) 30.17%.

Additional details and impacted files
@@             Coverage Diff             @@
##             main      #37       +/-   ##
===========================================
- Coverage   40.68%   30.17%   -10.51%     
===========================================
  Files          21       26        +5     
  Lines        1728     2525      +797     
  Branches     1728     2525      +797     
===========================================
+ Hits          703      762       +59     
- Misses       1012     1747      +735     
- Partials       13       16        +3     
Files Coverage Δ
operator-k8s/src/lib.rs 100.00% <ø> (ø)
sidecar/src/backup/mod.rs 80.00% <ø> (ø)
sidecar/src/backup/pv.rs 0.00% <ø> (ø)
sidecar/src/lib.rs 100.00% <ø> (ø)
operator-k8s/src/controller/cluster/v1alpha1.rs 0.00% <0.00%> (ø)
operator-k8s/src/config.rs 0.00% <0.00%> (ø)
sidecar/src/routers.rs 0.00% <0.00%> (ø)
crd-api/src/version.rs 74.35% <0.00%> (ø)
operator-k8s/src/manager/cluster.rs 79.58% <0.00%> (-0.50%) ⬇️
crd-api/src/v1alpha1/cluster.rs 92.63% <71.42%> (ø)
... and 13 more

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@iGxnon iGxnon linked an issue Oct 27, 2023 that may be closed by this pull request
1 task
@iGxnon iGxnon mentioned this pull request Nov 1, 2023
@iGxnon iGxnon closed this Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature]: public access for CRD struct
1 participant